<?php

namespace FactoryMethod\Factory;

include_once "IFactory.php";
include_once "LeiFeng.php";
include_once "Entity/Volunteer.php";

use FactoryMethod\LeiFeng;
use FactoryMethod\IFactory;
use FactoryMethod\Entity\Volunteer;

class VolunteerFactory implements IFactory
{

    public function createLeiFeng(): LeiFeng
    {
        return new Volunteer();
    }
}